package com.elow.testffmpeg;

import android.content.Context;
import android.opengl.GLSurfaceView;

public class MyGLSurfaceView extends GLSurfaceView {
    private final MyGLRenderer2 mRenderer;

    public MyGLSurfaceView(Context context) {
        super(context);
        // Create an OpenGL ES 2.0 context
        setEGLContextClientVersion(2);

        mRenderer = new MyGLRenderer2();

        // Set the Renderer for drawing on the GLSurfaceView
        setRenderer(mRenderer);
        // Set the RenderMode
        this.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);
    }
}
